package com.whatech.mall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 订单服务启动类。
 */
@SpringBootApplication
@EnableDiscoveryClient
// 使用属性配置的方式设置Feign Client
@EnableFeignClients(/*defaultConfiguration = GlobalFeignConfiguration.class*/)
public class OrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }

}
